package cn.lut.da01.impl;

import cn.lut.da01.SomeService;
import org.springframework.stereotype.Component;

/**
 * @user:dell
 * @date:2020年10月29 20:19
 */
@Component("myService")
public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome(String name,int age) {

        System.out.println("doSome()方法执行了");
    }

    @Override
    public void doOther() {
        System.out.println("事务要提交了");
    }


}
